package com.shsh.safemanage.util;

public class Constants {
	// request parameters
	public static final String REQUEST_PARAMETER_JOB_NUM = "jobNum";
	public static final String REQUEST_PARAMETER_PASSWORD = "password";
	public static final String REQUEST_PARAMETER_LOGINTYPE = "loginType";
	public static final String REQUEST_PARAMETER_CONFIRM_PASSWORD = "confirmPassword";
	public static final String REQUEST_PARAMETER_ADMIN_NAME = "adminName";
	public static final String REQUEST_PARAMETER_NAME = "name";
	public static final String REQUEST_PARAMETER_DEPARTMENT_ID = "departmentID";
	public static final String REQUEST_PARAMETER_DEPARTMENT_NAME = "departName";
	public static final String REQUEST_PARAMETER_ID = "id";
	public static final String REQUEST_PARAMETER_EQUIPMENT_NAME = "equipName";
	public static final String REQUEST_PARAMETER_PAGE_NUM = "pageNum";
	public static final String REQUEST_PARAMETER_DEPARTMENT_TYPE = "departType";
	public static final String REQUEST_PARAMETER_DEPARTMENT1ID = "depart1ID";
	public static final String REQUEST_PARAMETER_DEPARTMENT2ID = "depart2ID";
	public static final String REQUEST_PARAMETER_DEPARTMENT3ID = "depart3ID";
	public static final String REQUEST_PARAMETER_POSTID = "postID";
	public static final String REQUEST_PARAMETER_IS_MANAGER = "isManager";
	public static final String REQUEST_PARAMETER_PROBLEM_TITLE = "problemTitle";
	public static final String REQUEST_PARAMETER_PROBLEM_CONTENT = "problemContent";
	public static final String REQUEST_PARAMETER_ZHENGGAI_CUOSHI = "zhenggai_cuoshi";
	public static final String REQUEST_PARAMETER_INFORMED_PERSON = "informedPerson";
	public static final String REQUEST_PARAMETER_MANAGEGROUP_ID = "manageGroupID";
	public static final String REQUEST_PARAMETER_PROBLEM_EQUIP_ID = "problemEquipID";
	public static final String REQUEST_PARAMETER_EQUIP_ID = "equipID";
	public static final String REQUEST_PARAMETER_DATE_START = "dateStart";
	public static final String REQUEST_PARAMETER_DATE_END = "dateEnd";
	public static final String REQUEST_PARAMETER_PROCESS_METHOD = "processMethod";
	public static final String REQUEST_PARAMETER_FEEDBACK = "feedback";
	public static final String REQUEST_PARAMETER_TRANSFER_ID = "transferID";
	
	// request attributes
	public static final String REQUEST_ATTRIBUTE_ERROR = "REQUEST_ATTRIBUTE_ERROR";
	public static final String REQUEST_ATTRIBUTE_REGISTER_USER = "REQUEST_ATTRIBUTE_REGISTER_USER";
	
	// error key
	public static final String ERROR_KEY_EMPTY_USERNAME_OR_JOBNUM = "ERROR_KEY_EMPTY_USERNAME_OR_JOBNUM";
	public static final String ERROR_KEY_NULL_USER = "ERROR_KEY_NULL_USER";
	public static final String ERROR_KEY_NULL_REGISTER_USER = "ERROR_KEY_NULL_REGISTER_USER";
	public static final String ERROR_KEY_NOT_EQUAL_PASSWORDS = "ERROR_KEY_NOT_EQUAL_PASSWORDS";
	public static final String ERROR_KEY_USER_HAS_REGISTERED = "ERROR_KEY_USER_HAS_REGISTERED";
	public static final String ERROR_KEY_LOGIN_FAILED = "ERROR_KEY_LOGIN_FAILED";
	public static final String ERROR_KEY_BLANK_MANAGEGROUP = "ERROR_KEY_BLANK_MANAGEGROUP";
	public static final String ERROR_KEY_NULL_EQUIPMENT = "ERROR_KEY_NULL_EQUIPMENT";
	public static final String ERROR_KEY_HAS_NOT_RIGHT_TO_PROCESS = "ERROR_KEY_HAS_NOT_RIGHT_TO_PROCESS";
	public static final String ERROR_KEY_PROCESS_METHOD_ACQUIRED = "ERROR_KEY_PROCESS_METHOD_ACQUIRED";
	public static final String ERROR_KEY_ESCALATE_USER_ACQUIRED = "ERROR_KEY_ESCALATE_USER_ACQUIRED";
	
	// session attributes
	public static final String SESSION_USER = "SESSION_USER";
	public static final String SESSION_ADMIN_IS_LOGIN = "SESSION_ADMIN_IS_LOGIN";
	public static final String SESSION_REGISTER_USER = "SESSION_REGISTER_USER";
	public static final String SESSION_MAPPING_SHIYEBU = "SESSION_MAPPING_SHIYEBU";
	public static final String SESSION_MAPPING_EQUIPMENT = "SESSION_MAPPING_EQUIPMENT";
	public static final String SESSION_MAPPING_EQUIPMENT2 = "SESSION_MAPPING_EQUIPMENT2";
	public static final String SESSION_MAPPING_MANAGE_GROUP = "SESSION_MAPPING_MANAGE_GROUP";
	public static final String SESSION_MAPPING_POSTCHECK_SET = "SESSION_MAPPING_POSTCHECK_SET";
	public static final String SESSION_MANAGE_GROUP_USER = "SESSION_MANAGE_GROUP_USER";
	public static final String SESSION_PROBLEM_DEPARTMENT1 = "SESSION_PROBLEM_DEPARTMENT1";
	public static final String SESSION_PROBLEM_EQUIPMENT = "SESSION_PROBLEM_EQUIPMENT";
	public static final String SESSION_DEPARTMENT2 = "SESSION_DEPARTMENT2";
	public static final String SESSION_ESCALATE_USER = "SESSION_ESCALATE_USER";
	
	// json key
	public static final String JSON_KEY_IS_SUCCESS = "isSuccess";
	public static final String JSON_KEY_ERROR = "error";
	
	// department type
	public static final int DEPARTMENT_TYPE_JIGUAN = 1;
	public static final int DEPARTMENT_TYPE_SHIYEBU = 2;
	
	// role type
	public static final int ROLE_TYPE_YIXIANYUANGONG = 1;
	public static final int ROLE_TYPE_ZUYUAN = 2;
	public static final int ROLE_TYPE_ZUZHANG = 4;
	public static final int ROLE_TYPE_ZHUANGZHIZHANG = 8;
	public static final int ROLE_TYPE_ANQUANZONGJIAN = 16;
	public static final int ROLE_TYPE_SHENGCHANFUBUZHANG = 32;
	public static final int ROLE_TYPE_SHEBEIFUBUZHANG = 64;
	public static final int ROLE_TYPE_BUZHANG = 128;
	public static final int ROLE_TYPE_KEYUAN = 256;
	public static final int ROLE_TYPE_FUKEZHANG = 512;
	public static final int ROLE_TYPE_KEZHANG = 1024;
	public static final int ROLE_TYPE_FUCHUZHANG = 2048;
	public static final int ROLE_TYPE_CHUZHANG =4096 ;
	public static final int ROLE_TYPE_ZONGSHI = 8192;
	public static final int ROLE_TYPE_FUZONGJINGLI = 16384;
	public static final int ROLE_TYPE_ZONGJINGLI = 32768;
	
	// title level
	public static final int TITLE_LEVEL_CHU = 4;
	
	// manage group id
	public static final long MANAGE_GROUP_ID_SHENGCHAN = 15;
	public static final long MANAGE_GROUP_ID_SHEBEI = 14;
	public static final long MANAGE_GROUP_ID_HSE = 7;
	public static final long MANAGE_GROUP_ID_ZONGHE = 19;
	public static final long MANAGE_GROUP_ID_DANGQUN = 21;
	public static final long MANAGE_GROUP_ID_SHENGCHANSHEBEI = 16;
	public static final long MANAGE_GROUP_ID_JISHU = 12;
	public static final long MANAGE_GROUP_ID_KEYAN_JISHU_FUWU = 20;
	public static final long MANAGE_GROUP_ID_REDIANYUNXING = 23;
	public static final long MANAGE_GROUP_ID_GONGYONGGONGCHENG = 22;
	
	// shiyebu id
	public static final long SHIYEBU_ID_LIANYOU1 = 42;
	public static final long SHIYEBU_ID_LIANYOU2 = 43;
	public static final long SHIYEBU_ID_LIANYOU3 = 44;
	public static final long SHIYEBU_ID_LIANYOU4 = 45;
	public static final long SHIYEBU_ID_LIANYOU5 = 46;
	public static final long SHIYEBU_ID_HUAGONG1 = 47;
	public static final long SHIYEBU_ID_HUAGONG2 = 48;
	public static final long SHIYEBU_ID_HUAGONG3 = 49;
	public static final long SHIYEBU_ID_HUAGONG4 = 50;
	public static final long SHIYEBU_ID_SHUIWUGUANLI = 53;
	public static final long SHIYEBU_ID_CHUYUN1 = 51;
	public static final long SHIYEBU_ID_CHUYUN2 = 52;
	public static final long SHIYEBU_ID_CHANPINFENXIFUWU = 55;
	public static final long SHIYEBU_ID_DONGLIGUANLI = 54;
	public static final long SHIYEBU_ID_HUANJINGJIANCE = 1;
	public static final long SHIYEBU_ID_LIANYOUYITIXIANGMU = 41;
	
	// problem status
	public static final int PROBLEM_STATUS_OPEN = 1;
	public static final int PROBLEM_STATUS_ZUZHANG_ZHUANGZHIZHANG = PROBLEM_STATUS_OPEN + 1;
	public static final int PROBLEM_STATUS_ZUYUAN = PROBLEM_STATUS_ZUZHANG_ZHUANGZHIZHANG + 1;
	public static final int PROBLEM_STATUS_ANQUANZONGJIAN_FUBUZHANG = PROBLEM_STATUS_ZUYUAN + 1;
	public static final int PROBLEM_STATUS_BUZHANG = PROBLEM_STATUS_ANQUANZONGJIAN_FUBUZHANG + 1;
	public static final int PROBLEM_STATUS_KEYUAN = PROBLEM_STATUS_BUZHANG + 1;
	public static final int PROBLEM_STATUS_FUKEZHANG = PROBLEM_STATUS_KEYUAN + 1;
	public static final int PROBLEM_STATUS_KEZHANG = PROBLEM_STATUS_FUKEZHANG + 1;
	public static final int PROBLEM_STATUS_FUCHUZHANG = PROBLEM_STATUS_KEZHANG + 1;
	public static final int PROBLEM_STATUS_CHUZHANG = PROBLEM_STATUS_FUCHUZHANG + 1;
	public static final int PROBLEM_STATUS_CLOSE = 100;
	
	// title level
	public static final int TITLE_LEVEL_YIXIANYUANGONG = 1;
	public static final int TITLE_LEVEL_ZUYUAN = 2;
	public static final int TITLE_LEVEL_KEJI = 3;
	public static final int TITLE_LEVEL_CHUJI = 4;
	public static final int TITLE_LEVEL_JUJI = 5;
	
	// process method
	public static final int PROCESS_METHOD_FEEDBACK = 0;
	public static final int PROCESS_METHOD_CLOSE = 1;
	public static final int PROCESS_METHOD_TRANSFER = 2;
	public static final int PROCESS_METHOD_ESCALATE = 3;
	public static final int PROCESS_METHOD_SENDBACK = 4;
	public static final int PROCESS_METHOD_OTHERDEPART = 5;
}
